home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Loadstar 14
/
014.d81
/
t.xdos boot
< prev
next >
Wrap
Text File
|
2022-08-26
|
3KB
|
150 lines
***** XDOS *****
Written by: C.D. Lane
User Extendable Disk Operating System
Microcomputers Magazine, August 1985
Page 50
XDOS allows you to create almost any
type of disk routine you would like.
Its commands are defined as BASIC
programs, that the user writes, on
the disk. XDOS allows passing
variables to the BASIC programs as
well as a specified LIST feature.
XDOS commands are entered as follows:
& COMMAND var1 var2 var3 var4 ...
var8 var9 var10
Please note that the magazine says to
use "_" and not "&". Due to a
conflict with FAST LOAD and the DOS
Wedge ("_" is the wedge symbol to
save a file), we have changed the
macro from "_" to "&".
A sample XDOS BASIC program might
look like this:
10 REM XDOS:SCRATCH
20 OPEN15,8,15,"S0:"+ARG$(1)
30 CLOSE15
This would allow you to scratch a file
on the disk drive and you would access
it like this:
& SCRATCH filename
With XDOS, you can create any type
of DOS command short-cut you would
like. It should be noted that the
first line of any of your BASIC
programs must be of the form:
10 REM XDOS:program name
XDOS also has the ability to perform
a modified LIST of the directory. By
typing '& $', you can view the whole
directory. You can also use wildcards
or pattern matching.
The XDOS commands that are written
in BASIC load into BASIC memory space,
therefore replacing whatever program
was already in memory. In other
words, you should SAVE any program you
are working on before using XDOS.
Included on this issue of LOADSTAR
are these files:
XDOS.DELETE -- allows XDOS to scratch
up to 10 files
XDOS.TYPE -- allows XDOS to read a
SEQ file and print it
to the screen--up to
10 files can be used
XDOS.ECHO -- prints all current
values of XDOS
variables
XDOS.CREATOR - allows you to create a
version of XDOS on your
own disks.
*** NOTE ***
When the XDOS.CREATOR is RUN, you
need to have a formatted disk on hand.
This program is copyrighted by
Microcomputers magazine. All rights to
it are reserved.
LOADSTAR has relieved
you from the burden of keying in this
program. For more complete
information about this program, refer
to the August 1985 issue of Commodore
Microcomputers Magazine.
>Files used: XDOS.CREATOR
XDOS.DELETE
XDOS.TYPE
XDOS.ECHO
--------------------------------------